package org.jeecg.modules.qyxx.entity;

import com.github.jeffreyning.mybatisplus.anno.MppMultiId;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 发票风险预警汇总数据
 * @TableName bg_fp_hz_nd_fxyj
 */
public class BgFpHzNdFxyj implements Serializable {
    /**
     * 纳税人登记序号
     */
    @MppMultiId
    private String djxh;

    /**
     * 统计年度
     */
    @MppMultiId
    private String tjnd;

    /**
     * 纳税人名称
     */
    private String nsrmc;

    /**
     * 作废金额（元）
     */
    private BigDecimal zfje;

    /**
     * 作废数量
     */
    private Integer zfsl;

    /**
     * 红冲金额（元）
     */
    private BigDecimal hcje;

    /**
     * 红冲数量
     */
    private Integer hcsl;

    /**
     * 失控金额（元）
     */
    private BigDecimal skje;

    /**
     * 失控数量
     */
    private Integer sksl;

    /**
     * 创建时间
     * 对应字段 : CREATE_TIME
     */
    private Date createTime;

    /**
     * 更新时间
     * 对应字段 : UPDATE_TIME
     */
    private Date updateTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    private static final long serialVersionUID = 1L;

    /**
     * 纳税人登记序号
     */
    public String getDjxh() {
        return djxh;
    }

    /**
     * 纳税人登记序号
     */
    public void setDjxh(String djxh) {
        this.djxh = djxh;
    }

    /**
     * 统计年度
     */
    public String getTjnd() {
        return tjnd;
    }

    /**
     * 统计年度
     */
    public void setTjnd(String tjnd) {
        this.tjnd = tjnd;
    }

    /**
     * 纳税人名称
     */
    public String getNsrmc() {
        return nsrmc;
    }

    /**
     * 纳税人名称
     */
    public void setNsrmc(String nsrmc) {
        this.nsrmc = nsrmc;
    }

    /**
     * 作废金额（元）
     */
    public BigDecimal getZfje() {
        return zfje;
    }

    /**
     * 作废金额（元）
     */
    public void setZfje(BigDecimal zfje) {
        this.zfje = zfje;
    }

    /**
     * 作废数量
     */
    public Integer getZfsl() {
        return zfsl;
    }

    /**
     * 作废数量
     */
    public void setZfsl(Integer zfsl) {
        this.zfsl = zfsl;
    }

    /**
     * 红冲金额（元）
     */
    public BigDecimal getHcje() {
        return hcje;
    }

    /**
     * 红冲金额（元）
     */
    public void setHcje(BigDecimal hcje) {
        this.hcje = hcje;
    }

    /**
     * 红冲数量
     */
    public Integer getHcsl() {
        return hcsl;
    }

    /**
     * 红冲数量
     */
    public void setHcsl(Integer hcsl) {
        this.hcsl = hcsl;
    }

    /**
     * 失控金额（元）
     */
    public BigDecimal getSkje() {
        return skje;
    }

    /**
     * 失控金额（元）
     */
    public void setSkje(BigDecimal skje) {
        this.skje = skje;
    }

    /**
     * 失控数量
     */
    public Integer getSksl() {
        return sksl;
    }

    /**
     * 失控数量
     */
    public void setSksl(Integer sksl) {
        this.sksl = sksl;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BgFpHzNdFxyj other = (BgFpHzNdFxyj) that;
        return (this.getDjxh() == null ? other.getDjxh() == null : this.getDjxh().equals(other.getDjxh()))
            && (this.getTjnd() == null ? other.getTjnd() == null : this.getTjnd().equals(other.getTjnd()))
            && (this.getNsrmc() == null ? other.getNsrmc() == null : this.getNsrmc().equals(other.getNsrmc()))
            && (this.getZfje() == null ? other.getZfje() == null : this.getZfje().equals(other.getZfje()))
            && (this.getZfsl() == null ? other.getZfsl() == null : this.getZfsl().equals(other.getZfsl()))
            && (this.getHcje() == null ? other.getHcje() == null : this.getHcje().equals(other.getHcje()))
            && (this.getHcsl() == null ? other.getHcsl() == null : this.getHcsl().equals(other.getHcsl()))
            && (this.getSkje() == null ? other.getSkje() == null : this.getSkje().equals(other.getSkje()))
            && (this.getSksl() == null ? other.getSksl() == null : this.getSksl().equals(other.getSksl()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getDjxh() == null) ? 0 : getDjxh().hashCode());
        result = prime * result + ((getTjnd() == null) ? 0 : getTjnd().hashCode());
        result = prime * result + ((getNsrmc() == null) ? 0 : getNsrmc().hashCode());
        result = prime * result + ((getZfje() == null) ? 0 : getZfje().hashCode());
        result = prime * result + ((getZfsl() == null) ? 0 : getZfsl().hashCode());
        result = prime * result + ((getHcje() == null) ? 0 : getHcje().hashCode());
        result = prime * result + ((getHcsl() == null) ? 0 : getHcsl().hashCode());
        result = prime * result + ((getSkje() == null) ? 0 : getSkje().hashCode());
        result = prime * result + ((getSksl() == null) ? 0 : getSksl().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", djxh=").append(djxh);
        sb.append(", tjnd=").append(tjnd);
        sb.append(", nsrmc=").append(nsrmc);
        sb.append(", zfje=").append(zfje);
        sb.append(", zfsl=").append(zfsl);
        sb.append(", hcje=").append(hcje);
        sb.append(", hcsl=").append(hcsl);
        sb.append(", skje=").append(skje);
        sb.append(", sksl=").append(sksl);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
